package com.spring.annotation;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
 public class Database {

     @Bean
     public String getDriverClass() {
         // instantiate, configure and return DataSource
    	 return "oracle.jdbc.driver.oracleDriver";
     }
 }